# 生成密码表
zimu='qwertyuiopasdfghjklzxcvbnm'

def rec(miwen,i,tokenList):
    if i>= len(miwen):
        return tokenList
    token=miwen[i:i+2] # 先尝试两个的情况
    step=2
    if int(token)>26: # 前面分的都对，这个不对
        token=miwen[i]
        step=1
    tokenList.append(token)
    return rec(miwen,i+step,tokenList[:])

while(1):
    miwen = input('请输入母鸡的sb密码：')

    tokenList = rec(miwen, 0, [])
    print(tokenList)

    result = ''
    for code in tokenList:
        result += zimu[int(code)-1]

    print(result)